package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.system.SysRoleDto;
import com.atguigu.spzx.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ClassName: SysRoleService
 * @Package: com.atguigu.spzx.manager.service
 * @Description
 * @Author 孤妤
 * @Date: 2023/12/4 20:33
 */
public interface SysRoleService {
    PageInfo<SysRole> findByPage(Integer pageNum, Integer pageSize, SysRoleDto sysRoleDto);

    SysRole findById(Integer id);

    void addSysRole(SysRole sysRole);

    void removeById(Integer id);

    void changeSysRole(SysRole sysRole);
}
